package 反射.T9;

public class T9 {

    public static void main(String[] args) throws IllegalAccessException, InstantiationException {

        Class<Student> aClass = Student.class;
        Student student = aClass.newInstance();
        student.name = "小虎";
        student.age = 25;

        System.out.println(student.name+"  "+student.age);
    }
}
